package yhp.com.zijie.service;

import yhp.com.zijie.bean.Student;

import java.util.List;

public interface StudentService {



    /**
     * 获取所有的学生信息
     */
    public List<Student> getAllStudent(String stuname,String stuno,int sex , int pageIndex , int pageSize);

    /**
     * 获取总的人数
     */
    int total(String stuname, String stuno, int sex);


    public int addStudent(Student student);

    Student findById(int stuId);

    int deleteById(int stuId);

    int updateStudent(Student student);
}
